import request from '@/utils/request'
import {encodeParams} from '@/utils'
import Cookies from 'js-cookie'
const userId = Cookies.get('useId-B')

export function updateAccountPassword(data) {
  return request({
    url: `/api/user/${userId}/changePassword`,
    method: 'POST',
    data
  })
}
